Utility.getScaledTooltipBounds Method

Gets an object describing the rectangular bounds to use for positioning a tooltip based on the specified unscaled relative bounds.
 

Parameters

target

Type: Element
The tooltip service target DOM element.
bounds

Type: Object
An object specifying rectangular bounds before CSS scaling is applied relative to target.
canvasService

Type: CanvasService
Optional: True

Return Value


Type: Object - May be null
A new object with modified rectangular bounds, or bounds